What is split method in strings and how to use split method